PreviousNextTracker indexSee it online !

(88/185) 214 - ProjectViewer: Specify project startup scripts

It would be nice if you could define a beanshell script for a project that would be run when that project is opened. This would make it easier to set up project-specific environments (to define compilers or set environment variables, for example).

Submitted kog13 - 2010-07-28 18:15:12 Assigned
Priority 5 Labels Project Viewer
Status open Group None
Resolution None

Comments

2010-07-28 18:27:40
*anonymous

The ActionHooks plugin allows you to register actions (macros) that will run in resposne to edit bus messages. Maybe it can satisfy this feature request?

2010-07-28 18:28:58
*anonymous

Actually, looking at it now, it doesn't support any PV edit bus messages. Maybe it can be extended to query the core for all defined edit bus messages, but not sure.

2011-11-30 00:04:48
ezust

- **summary**: PV: Specify project startup scripts --> ProjectViewer: Specify project startup scripts

2012-01-12 23:19:42
ezust

- **labels**: --> Project Viewer

2013-03-19 16:42:02
ezust

I think that this should be available as something one can select from Project Options.
But the question is, which plugin should provide this feature?
If it is a BeanShell script, it might make sense to put it into the ClassPath plugin.
Keep in mind there are bugs in ClassPath which currently prevent one from implementing this feature.
See tickets 3599975 and 3599899

2013-03-19 16:45:25
ezust

Another approach is to add this feature to Console which already responds to project opened messages.
The user could choose the shell as well as the startup script to run.